Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protvista-sequence

Package Overview
Dependencies
Maintainers
7
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protvista-sequence

Sequence component for the ProtVista tool

  • 2.18.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
275
decreased by-3.17%
Maintainers
7
Weekly downloads
 
Created
Source

protvista-sequence

Published on NPM

This custom element displays the sequence in the selected region if the zoom level allows it, otherwise it displays the axis legend of the selected region. As it inherits from , it supports highlighting.

Demo

Usage

Setting sequence through property
<protvista-sequence length="456" />
const protvistaSequence = document.querySelectAll('#my-protvista-sequence-id');
protvistaSequence.sequence = proteinSequence;
Setting sequence through attribute
<protvista-sequence length="456" sequence="RFQAEGSLKK..." />

API Reference

Properties

sequence: string

The sequence to display

length: number

The protein or nucleic acid sequence length.

also see protvista-zoomable

Keywords

FAQs

Package last updated on 11 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc